.class Lcom/xingbook/ui/am;
.super Landroid/webkit/WebChromeClient;


# instance fields
.field final synthetic a:Lcom/xingbook/ui/ak;


# direct methods
.method constructor <init>(Lcom/xingbook/ui/ak;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/ui/am;->a:Lcom/xingbook/ui/ak;

    invoke-direct {p0}, Landroid/webkit/WebChromeClient;-><init>()V

    return-void
.end method


# virtual methods
.method public onProgressChanged(Landroid/webkit/WebView;I)V
    .locals 0

    invoke-super {p0, p1, p2}, Landroid/webkit/WebChromeClient;->onProgressChanged(Landroid/webkit/WebView;I)V

    return-void
.end method

.method public onReceivedTitle(Landroid/webkit/WebView;Ljava/lang/String;)V
    .locals 2

    invoke-super {p0, p1, p2}, Landroid/webkit/WebChromeClient;->onReceivedTitle(Landroid/webkit/WebView;Ljava/lang/String;)V

    if-eqz p2, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/am;->a:Lcom/xingbook/ui/ak;

    iget-object v0, v0, Lcom/xingbook/ui/ak;->g:Lcom/xingbook/ui/t;

    invoke-virtual {v0, p2}, Lcom/xingbook/ui/t;->setTitle(Ljava/lang/String;)V

    :goto_0
    iget-object v0, p0, Lcom/xingbook/ui/am;->a:Lcom/xingbook/ui/ak;

    iget-object v0, v0, Lcom/xingbook/ui/ak;->g:Lcom/xingbook/ui/t;

    invoke-virtual {v0}, Lcom/xingbook/ui/t;->postInvalidate()V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/xingbook/ui/am;->a:Lcom/xingbook/ui/ak;

    iget-object v0, v0, Lcom/xingbook/ui/ak;->g:Lcom/xingbook/ui/t;

    const-string v1, "\u65e0\u6807\u9898"

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/t;->setTitle(Ljava/lang/String;)V

    goto :goto_0
.end method
